package com.system.orderserver.pojo;

import java.util.Date;

public class Orders {

    private Integer ordersId;
    private String ordersNo;
    private Date ordersCreatetime;
    private Integer userId;
    private Integer ordersinfoId;
    private Double ordersTotleprice;
    private Integer couponId;
    private Integer ordersState;
    private Integer harvesttype;
    private String ordersMark;
    private Integer selfaddressid;
    private Integer useraddressid;
    private Integer logisticsId;
    private Integer paymentmethod;

    public Integer getOrdersId() {
        return ordersId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.orders_id
     *
     * @param ordersId the value for orders.orders_id
     *
     * @mbg.generated
     */
    public void setOrdersId(Integer ordersId) {
        this.ordersId = ordersId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.orders_no
     *
     * @return the value of orders.orders_no
     *
     * @mbg.generated
     */
    public String getOrdersNo() {
        return ordersNo;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.orders_no
     *
     * @param ordersNo the value for orders.orders_no
     *
     * @mbg.generated
     */
    public void setOrdersNo(String ordersNo) {
        this.ordersNo = ordersNo == null ? null : ordersNo.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.orders_createTime
     *
     * @return the value of orders.orders_createTime
     *
     * @mbg.generated
     */
    public Date getOrdersCreatetime() {
        return ordersCreatetime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.orders_createTime
     *
     * @param ordersCreatetime the value for orders.orders_createTime
     *
     * @mbg.generated
     */
    public void setOrdersCreatetime(Date ordersCreatetime) {
        this.ordersCreatetime = ordersCreatetime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.user_id
     *
     * @return the value of orders.user_id
     *
     * @mbg.generated
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.user_id
     *
     * @param userId the value for orders.user_id
     *
     * @mbg.generated
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.ordersInfo_id
     *
     * @return the value of orders.ordersInfo_id
     *
     * @mbg.generated
     */
    public Integer getOrdersinfoId() {
        return ordersinfoId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.ordersInfo_id
     *
     * @param ordersinfoId the value for orders.ordersInfo_id
     *
     * @mbg.generated
     */
    public void setOrdersinfoId(Integer ordersinfoId) {
        this.ordersinfoId = ordersinfoId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.orders_totlePrice
     *
     * @return the value of orders.orders_totlePrice
     *
     * @mbg.generated
     */
    public Double getOrdersTotleprice() {
        return ordersTotleprice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.orders_totlePrice
     *
     * @param ordersTotleprice the value for orders.orders_totlePrice
     *
     * @mbg.generated
     */
    public void setOrdersTotleprice(Double ordersTotleprice) {
        this.ordersTotleprice = ordersTotleprice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.coupon_id
     *
     * @return the value of orders.coupon_id
     *
     * @mbg.generated
     */
    public Integer getCouponId() {
        return couponId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.coupon_id
     *
     * @param couponId the value for orders.coupon_id
     *
     * @mbg.generated
     */
    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.orders_state
     *
     * @return the value of orders.orders_state
     *
     * @mbg.generated
     */
    public Integer getOrdersState() {
        return ordersState;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.orders_state
     *
     * @param ordersState the value for orders.orders_state
     *
     * @mbg.generated
     */
    public void setOrdersState(Integer ordersState) {
        this.ordersState = ordersState;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.harvestType
     *
     * @return the value of orders.harvestType
     *
     * @mbg.generated
     */
    public Integer getHarvesttype() {
        return harvesttype;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.harvestType
     *
     * @param harvesttype the value for orders.harvestType
     *
     * @mbg.generated
     */
    public void setHarvesttype(Integer harvesttype) {
        this.harvesttype = harvesttype;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.orders_mark
     *
     * @return the value of orders.orders_mark
     *
     * @mbg.generated
     */
    public String getOrdersMark() {
        return ordersMark;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.orders_mark
     *
     * @param ordersMark the value for orders.orders_mark
     *
     * @mbg.generated
     */
    public void setOrdersMark(String ordersMark) {
        this.ordersMark = ordersMark == null ? null : ordersMark.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.selfAddressId
     *
     * @return the value of orders.selfAddressId
     *
     * @mbg.generated
     */
    public Integer getSelfaddressid() {
        return selfaddressid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.selfAddressId
     *
     * @param selfaddressid the value for orders.selfAddressId
     *
     * @mbg.generated
     */
    public void setSelfaddressid(Integer selfaddressid) {
        this.selfaddressid = selfaddressid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.userAddressId
     *
     * @return the value of orders.userAddressId
     *
     * @mbg.generated
     */
    public Integer getUseraddressid() {
        return useraddressid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.userAddressId
     *
     * @param useraddressid the value for orders.userAddressId
     *
     * @mbg.generated
     */
    public void setUseraddressid(Integer useraddressid) {
        this.useraddressid = useraddressid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.logistics_id
     *
     * @return the value of orders.logistics_id
     *
     * @mbg.generated
     */
    public Integer getLogisticsId() {
        return logisticsId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.logistics_id
     *
     * @param logisticsId the value for orders.logistics_id
     *
     * @mbg.generated
     */
    public void setLogisticsId(Integer logisticsId) {
        this.logisticsId = logisticsId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orders.paymentMethod
     *
     * @return the value of orders.paymentMethod
     *
     * @mbg.generated
     */
    public Integer getPaymentmethod() {
        return paymentmethod;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orders.paymentMethod
     *
     * @param paymentmethod the value for orders.paymentMethod
     *
     * @mbg.generated
     */
    public void setPaymentmethod(Integer paymentmethod) {
        this.paymentmethod = paymentmethod;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "ordersId=" + ordersId +
                ", ordersNo='" + ordersNo + '\'' +
                ", ordersCreatetime=" + ordersCreatetime +
                ", userId=" + userId +
                ", ordersinfoId=" + ordersinfoId +
                ", ordersTotleprice=" + ordersTotleprice +
                ", couponId=" + couponId +
                ", ordersState=" + ordersState +
                ", harvesttype=" + harvesttype +
                ", ordersMark='" + ordersMark + '\'' +
                ", selfaddressid=" + selfaddressid +
                ", useraddressid=" + useraddressid +
                ", logisticsId=" + logisticsId +
                ", paymentmethod=" + paymentmethod +
                '}';
    }
}